![]() |
PBMountVol |
||||
Header: | Files.h | Carbon status: | Supported | |
Mounts a volume.
OSErr PBMountVol ( ParmBlkPtr paramBlock );
A pointer to a basic FIle Manager parameter block.
A result code.
The relevant fields of the parameter block are:
On output, the result code of the function.
On input, a drive number. On output, the volume reference number.
The PBMountVol function mounts the volume in the specified drive. If there are no volumes already mounted, this volume becomes the default volume. Because you specify the volume to be mounted by providing a drive number, you can use PBMountVol to mount only one volume per disk.
The PBMountVol function always executes synchronously.
The PBMountVol function opens two files needed for maintaining file catalog and file mapping information. If no access paths are available for these two files, PBMountVol fails and returns tmfoErr as its function result.
Supported in Carbon. Not available in Carbon.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)